#include <stdio.h>
int main()
{
	int a[3][3]={1,2,3,4,5,6,7,8,9};
	int i,t=1;
	for(i=0;i<=2;i++)
	t=t*a[i][i];
	printf("%d\n",t);
	return 0;
}